package pl.polidea.imf.blackberry.ui;

import net.rim.device.api.ui.MenuItem;
import net.rim.device.api.ui.container.MainScreen;
import pl.polidea.imf.blackberry.service.IMFService;

public class TestScreen extends MainScreen {
	
	public TestScreen() {
		addMenuItem(test1);
		addMenuItem(testAssert);
	}
	
	MenuItem test1 = new MenuItem("close", 300001, 4) {
	
		public void run() {
			IMFService.stop();
			System.exit(0);
		}
	};
	
	
	MenuItem testAssert = new MenuItem("testAssert", 300001, 4) {
		
		public void run() {
			IMFService.imfAssert(0 > 1, 10, "test assercji");
		}
	};
	
	

}


